Getting and Setting Patterns
QuickDraw GX allows you to specify a pattern to fill a shape when drawn. In particular, you may specify a pattern shape for any line, curve, rectangle, polygon, or path shape that has any framed shape fill or any solid fill. You must always specify pattern shapes in their primitive form."The Pattern Structure" on page 3-106 describes the
gxPatternRecord
structure, which you use when retrieving or specifying pattern information. That section also describes what types of shapes you may use as a pattern shape.You can use the
GXGetStylePattern
function to retrieve the pattern information from a style object and theGXSetStylePattern
function to specify pattern information for a style object.The
GXGetShapePattern
andGXSetShapePattern
functions provide a way to retrieve and specify pattern information for the style object associated with a particular shape.
Subtopics
- GXGetStylePattern
- GXSetStylePattern
- GXGetShapePattern
- GXSetShapePattern
- GXGetShapePatternPositions
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help